includes\api\WTV_Orders B

Total Complexity 85
Dependencies 9
Dependents 9
Total lines 589
Lines of code 358
Logical lines of code 177
Comment lines 160
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
set_way_of_delivery()
A
50 10 27
generate_order_row_payload()
A
46 7 37
sync()
A
46 7 37
generate_order_header_payload()
A
46 7 33
validate_order_items()
S
57 6 16
get_order_total()
S
54 5 24
create_shipping_article()
S
49 4 30
get_shipping()
S
51 4 25
has_eu_vat_number()
S
61 4 12
handle_fees()
S
63 4 10
item_is_variation()
S
70 3 6
send_order_to_visma()
S
61 2 12
get_non_product_order_row()
S
57 1 17
format_status()
S
68 2 7
is_synced()
S
70 2 6
visma_order_exists()
S
64 2 10
get_vat_percentage()
S
70 2 6
get_order()
S
67 2 7
set_order_as_synced()
S
73 2 4
calculate_item_discount()
S
68 2 7
get_product_name()
S
80 1 3
delete_order()
S
75 1 4
set_visma_order_id()
S
79 1 3
convert_order_to_invoice()
S
69 1 6
get_visma_order_id()
S
80 1 3
get_order_number()
S
77 1 3
add_order_error_log()
S
79 1 3